Layer Definition Schema
COLUMN Element
See Also  Send comments on this topic.
Layer Definition Schema : COLUMN Element

Glossary Item Box

Description

Used to define which columns from the related table are shown in the list view.

Diagram

COLUMN Element

Overview

COLUMN
Used to define which columns from the related table are shown in the list view.
field optional xs:string
Used to define the column name in the related table.
visible optional Restriction of xs:string
Used to define if the column is visible or not.
caption optional xs:string
Used to define the title of the column in the list view. Default is name of field.
width optional
Used to define the width of the column in pixels.

Attributes

NameTypeUseDefaultFixedDescription
fieldxs:stringoptional  Used to define the column name in the related table.
visibleRestriction of xs:stringoptionaltrue Used to define if the column is visible or not.
captionxs:stringoptional  Used to define the title of the column in the list view. Default is name of field.
width optional50 Used to define the width of the column in pixels.

Source

<xs:element name="COLUMN" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define which columns from the related table are shown in the list view.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="field" type="xs:string">
      <xs:annotation>
        <xs:documentation>Used to define the column name in the related table.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="visible" default="true">
      <xs:annotation>
        <xs:documentation>Used to define if the column is visible or not.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="caption" type="xs:string">
      <xs:annotation>
        <xs:documentation>Used to define the title of the column in the list view. Default is name of field.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="width" default="50">
      <xs:annotation>
        <xs:documentation>Used to define the width of the column in pixels.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.